package com.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.beans.AdminInfo;
import com.beans.StudentInfo;

public interface AdminDao  extends JpaRepository<AdminInfo, Integer>,JpaSpecificationExecutor<StudentInfo>{
	//用户登录
	AdminInfo findByAdminNameAndPassword(String name,String pwd);
}
